home *** CD-ROM | disk | FTP | other *** search
- Path: news.uni-c.dk!news
- From: Ejner <d6kn@esbjehs.dk>
- Newsgroups: comp.sys.cbm
- Subject: Re: Unlock Disk, 1541
- Date: Sun, 21 Apr 1996 14:36:14 -0100
- Organization: Esbjerg Business College
- Message-ID: <317A55EE.2ADA@esbjehs.dk>
- References: <3176F97B.1390@esbjehs.dk> <3177c00b.1948181@199.181.141.3> <4l8od0$eng@sdcc12.ucsd.edu>
- NNTP-Posting-Host: hermes.esbjehs.dk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- Guillermo Alvarez wrote:
- >
- > What Tony suggests is true; however, I did it much more easily in my
- > 1571 several years ago. I had a ROM disassembly of the drive, and there
- > I found the couple of instructions that checked for this special value
- > on the disk. I simply copied the whole ROM to RAM, altered this couple
- > of bytes so that the result of the test would be irrelevant, and changed
- > the memory map of the drive to use the modified routines in RAM. I then
- > used the DOS interface as usual to overwrite the sector, and got the job
- > done.
- >
- > Guillermo
- >
- > Tony Postmayer wrote:
- > |> Ejner <d6kn@esbjehs.dk> wrote:
- > |>
- > |> > Does anyone know how to unlock a locked disk (1541 formattet) ?
- > |>
- > |> Just to give you an idea, here's a rough flowchart of what has to be
- > |> done:
- > |>
- > |> Turn the motor on and give it time to come up to speed
- > |> Figure out what track you are on
- > |> Step the head to the target track
- > |> Seek the target sector
- > |> Read in the target data block
- > |> Convert from GCR to Petscii
- > |>
- > |> Make your alterations
- > |>
- > |> Convert from Petscii to GCR
- > |> Seek the target sector
- > |> Write out the data
- > |> Shut everything down
-
-
- Ejner again:
- Thanks for your advices... It seems as this is even more tricky, than I had
- imagined... It┤s all very complex and doesn┤t sound too compatible with f.i.
- 1541/1571 formatted disks... I hoped there was a command or something that
- would allow you to *force* a write to the disk, regardless of the format...
-
- But, reading your mail, I thought of what I would personally describe as
- simply brilliant:
-
- Would it be possible to do like this:
-
- 1. Read track 18, sector 00.
-
- 2. "New" the disk.
-
- 3. Write new track 18, sector 00.
-
- ???... I┤ll try it as soon as I go home! It almost sounds too easy, though,
- but I┤ll post you the results in the newsgroup...
-
- yours...
- Ejner mailto:d6kn@esbjehs.dk
-